cmake_minimum_required(VERSION 3.5.0)
project(gtkstudy VERSION 0.1.0 LANGUAGES C CXX)

set(GTK_INCLUDE_DIRS /usr/include/gtk-3.0 /usr/include/pango-1.0 /usr/include/gdk-pixbuf-2.0 /usr/include/cairo /usr/include/dbus-1.0 /usr/lib64/dbus-1.0/include /usr/include/atk-1.0 /usr/include/harfbuzz /usr/include/freetype2 /usr/include/glib-2.0 /usr/lib64/glib-2.0/include /usr/include/at-spi2-atk/2.0 /usr/include/cloudproviders /usr/include/blkid /usr/include/at-spi-2.0 /usr/include/gio-unix-2.0 /usr/include/libmount /usr/include/pixman-1 /usr/include/libxml2 /usr/include/fribidi /usr/include/sysprof-6 -pthread /usr/include/libpng16)
set(GTK_LIBRARIES gtk-3 gdk-3 z atk-1.0 gio-2.0 pangocairo-1.0 harfbuzz gdk_pixbuf-2.0 cairo-gobject pango-1.0 cairo glib-2.0 gobject-2.0)


include_directories(${GTK_INCLUDE_DIRS})
 
add_executable(gtkstudy main.cpp)
 
target_link_libraries(gtkstudy ${GTK_LIBRARIES})


include(CTest)
enable_testing()


set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)
